# -*- coding: UTF-8 -*-

from .engine import Engine
from .loader import Loader
from .router import Router
from .dbstore import DBStore

def getInstance():
    core = Engine()
    core.loader = Loader(core)
    core.router = Router(core)
    core.db = DBStore(core)
    return core
